*{
    margin: 0;padding: 0;box-sizing: border-box;
}
.ss{
  display: flex;
  justify-content:center;
  margin-top: 20%;
}


#heart{
    position: relative;
    transition: all .5s;
    display: inline-block;
    width: 50px;
    height: 50px;
    animation: 0.4s heart infinite alternate;
}

@keyframes heart{
    0% {
        transform: scale(.5);
    }
    100%{
        transform: scale(2);
    }
}


.left{
    position: absolute;
    background-color: red;
    width: 50px;
    height: 50px;
    transform: rotate(45deg) translateX(31px);
    left: -50px;
    bottom: 50px;
    border-radius: 50% 0 0 50%  ;
}
.right{
    
    position: absolute;
    background-color: red;
    width: 50px;
    height: 50px;
    transform: rotate(45deg) translateY(31px);
    left: 50px;
    bottom: 50px;
    border-radius: 50% 50% 0 0;
}

.bottom{
    
    position: absolute;
    background-color: red;
    width: 50px;
    height: 50px;
    transform: rotate(45deg);
}